import request from '@/utils/request'

// 获取报告列表
export function getReportList(params) {
  return request({
    url: '/system/report/form/list',
    method: 'get',
    params
  })
}

// 获取报告列表
export function getReportInfo(params) {
  return request({
    url: '/system/report/form/getInfo',
    method: 'get',
    params
  })
}

// 新增报告
export function addReport(data) {
  return request({
    url: '/system/report/form/add',
    method: 'post',
    data
  })
}

// 编辑报告
export function editReport(data) {
  return request({
    url: '/system/report/form/edit',
    method: 'post',
    data
  })
}

// 删除报告
export function deleteReport(data) {
  return request({
    url: '/system/report/form/remove',
    method: 'post',
    data
  })
}
